package com.spark.floatwin.activity;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class MainActivity extends Activity implements OnClickListener {
	/** Called when the activity is first created. */

	private Button showBtn;
	private Button hideBtn;

	@Override
	public void onCreate(Bundle savedInstanceState) {

		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);

		showBtn = (Button) findViewById(R.id.showBtn);
		hideBtn = (Button) findViewById(R.id.hideBtn);
		

		showBtn.setOnClickListener(this);
		hideBtn.setOnClickListener(this);

	}

	@Override
	public void onClick(View v) {
		switch (v.getId()) {
		case R.id.showBtn:

			break;

		case R.id.hideBtn:
			Log.i("ykl", "stop btn");
			break;
		default:
			break;
		}

	}
}